package com.clown.run;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration//注册管理bean
@SpringBootApplication
@ComponentScan(value = {"com.clown"})//spring 扫描注解的包路径
public class Start {

	public static void main(String[] args) {
		SpringApplication.run(Start.class, args);
	}
}
